﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000F03 RID: 3843
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class RogueInfo : IMessage<RogueInfo>, IMessage, IEquatable<RogueInfo>, IDeepCloneable<RogueInfo>, IBufferMessage
	{
		// Token: 0x170030D2 RID: 12498
		// (get) Token: 0x0600AC62 RID: 44130 RVA: 0x001D24CB File Offset: 0x001D06CB
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<RogueInfo> Parser
		{
			get
			{
				return RogueInfo._parser;
			}
		}

		// Token: 0x170030D3 RID: 12499
		// (get) Token: 0x0600AC63 RID: 44131 RVA: 0x001D24D2 File Offset: 0x001D06D2
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return RogueInfoReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x170030D4 RID: 12500
		// (get) Token: 0x0600AC64 RID: 44132 RVA: 0x001D24E4 File Offset: 0x001D06E4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return RogueInfo.Descriptor;
			}
		}

		// Token: 0x0600AC65 RID: 44133 RVA: 0x001D24EB File Offset: 0x001D06EB
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueInfo()
		{
		}

		// Token: 0x0600AC66 RID: 44134 RVA: 0x001D24F4 File Offset: 0x001D06F4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueInfo(RogueInfo other) : this()
		{
			this.rogueCurrentInfo_ = ((other.rogueCurrentInfo_ != null) ? other.rogueCurrentInfo_.Clone() : null);
			this.rogueGetInfo_ = ((other.rogueGetInfo_ != null) ? other.rogueGetInfo_.Clone() : null);
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600AC67 RID: 44135 RVA: 0x001D2550 File Offset: 0x001D0750
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueInfo Clone()
		{
			return new RogueInfo(this);
		}

		// Token: 0x170030D5 RID: 12501
		// (get) Token: 0x0600AC68 RID: 44136 RVA: 0x001D2558 File Offset: 0x001D0758
		// (set) Token: 0x0600AC69 RID: 44137 RVA: 0x001D2560 File Offset: 0x001D0760
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueCurrentInfo RogueCurrentInfo
		{
			get
			{
				return this.rogueCurrentInfo_;
			}
			set
			{
				this.rogueCurrentInfo_ = value;
			}
		}

		// Token: 0x170030D6 RID: 12502
		// (get) Token: 0x0600AC6A RID: 44138 RVA: 0x001D2569 File Offset: 0x001D0769
		// (set) Token: 0x0600AC6B RID: 44139 RVA: 0x001D2571 File Offset: 0x001D0771
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueGetInfo RogueGetInfo
		{
			get
			{
				return this.rogueGetInfo_;
			}
			set
			{
				this.rogueGetInfo_ = value;
			}
		}

		// Token: 0x0600AC6C RID: 44140 RVA: 0x001D257A File Offset: 0x001D077A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as RogueInfo);
		}

		// Token: 0x0600AC6D RID: 44141 RVA: 0x001D2588 File Offset: 0x001D0788
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(RogueInfo other)
		{
			return other != null && (other == this || (object.Equals(this.RogueCurrentInfo, other.RogueCurrentInfo) && object.Equals(this.RogueGetInfo, other.RogueGetInfo) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600AC6E RID: 44142 RVA: 0x001D25DC File Offset: 0x001D07DC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.rogueCurrentInfo_ != null)
			{
				num ^= this.RogueCurrentInfo.GetHashCode();
			}
			if (this.rogueGetInfo_ != null)
			{
				num ^= this.RogueGetInfo.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600AC6F RID: 44143 RVA: 0x001D262E File Offset: 0x001D082E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600AC70 RID: 44144 RVA: 0x001D2636 File Offset: 0x001D0836
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600AC71 RID: 44145 RVA: 0x001D2640 File Offset: 0x001D0840
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.rogueCurrentInfo_ != null)
			{
				output.WriteRawTag(138, 25);
				output.WriteMessage(this.RogueCurrentInfo);
			}
			if (this.rogueGetInfo_ != null)
			{
				output.WriteRawTag(178, 68);
				output.WriteMessage(this.RogueGetInfo);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600AC72 RID: 44146 RVA: 0x001D26A4 File Offset: 0x001D08A4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.rogueCurrentInfo_ != null)
			{
				num += 2 + CodedOutputStream.ComputeMessageSize(this.RogueCurrentInfo);
			}
			if (this.rogueGetInfo_ != null)
			{
				num += 2 + CodedOutputStream.ComputeMessageSize(this.RogueGetInfo);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600AC73 RID: 44147 RVA: 0x001D26FC File Offset: 0x001D08FC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(RogueInfo other)
		{
			if (other == null)
			{
				return;
			}
			if (other.rogueCurrentInfo_ != null)
			{
				if (this.rogueCurrentInfo_ == null)
				{
					this.RogueCurrentInfo = new RogueCurrentInfo();
				}
				this.RogueCurrentInfo.MergeFrom(other.RogueCurrentInfo);
			}
			if (other.rogueGetInfo_ != null)
			{
				if (this.rogueGetInfo_ == null)
				{
					this.RogueGetInfo = new RogueGetInfo();
				}
				this.RogueGetInfo.MergeFrom(other.RogueGetInfo);
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600AC74 RID: 44148 RVA: 0x001D277C File Offset: 0x001D097C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600AC75 RID: 44149 RVA: 0x001D2788 File Offset: 0x001D0988
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 3210U)
				{
					if (num != 8754U)
					{
						this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
					}
					else
					{
						if (this.rogueGetInfo_ == null)
						{
							this.RogueGetInfo = new RogueGetInfo();
						}
						input.ReadMessage(this.RogueGetInfo);
					}
				}
				else
				{
					if (this.rogueCurrentInfo_ == null)
					{
						this.RogueCurrentInfo = new RogueCurrentInfo();
					}
					input.ReadMessage(this.RogueCurrentInfo);
				}
			}
		}

		// Token: 0x040045F8 RID: 17912
		private static readonly MessageParser<RogueInfo> _parser = new MessageParser<RogueInfo>(() => new RogueInfo());

		// Token: 0x040045F9 RID: 17913
		private UnknownFieldSet _unknownFields;

		// Token: 0x040045FA RID: 17914
		public const int RogueCurrentInfoFieldNumber = 401;

		// Token: 0x040045FB RID: 17915
		private RogueCurrentInfo rogueCurrentInfo_;

		// Token: 0x040045FC RID: 17916
		public const int RogueGetInfoFieldNumber = 1094;

		// Token: 0x040045FD RID: 17917
		private RogueGetInfo rogueGetInfo_;
	}
}
